package com.freight.order.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.freight.order.dto.CommonLineDto;
import com.freight.order.vo.CommonLineListVo;


public interface CompanyCommonLineService {


    /**
     * 获取常用路线
     * @return
     */
    Page<CommonLineListVo> getCommonLinePage(Page<CommonLineListVo> page, String beginAreaCode, String endAreaCode);

    /**
     * 添加常用路线
     * @param commonLineDto
     */
    void addCommonLine(CommonLineDto commonLineDto);

    /**
     * 删除常用路线
     * @param commonLineId
     */
    void deleteCommonLine(Long commonLineId);


}
